<?

require(dirname(__FILE__).'/_base/BaseTaskResponsibleUser.php');

class TaskResponsibleUser extends BaseTaskResponsibleUser{
    
    public static function model($className=__CLASS__) {
        return parent::model($className);
    }
    
    public function relations() {
        return array(
            'task' => array(self::BELONGS_TO, 'Task', 'task_id'),
            'user' => array(self::BELONGS_TO, 'TaskUser', 'user_id'),
        );
    }
    
}
